<php>
    $banner = \app\admin\service\ApiService::slides(30,1);

    $banner_c = \app\admin\service\ApiService::slides(31,1);

</php>

<volist name='banner' id='vo'>
<div class="newsc" style="background: url({:cmf_get_image_url($vo['image'])}) no-repeat;">

<a href="{$vo.url}">
    <h4>新闻动态</h4>
    <span>News</span>

</a>
</div>
</volist>


<volist name='banner_c' id='vo'>
<div class="newsz" style="background: url({:cmf_get_image_url($vo['image'])}) no-repeat;">
<a href="{$vo.url}">
    <h4>联系我们</h4>
    <span>Contact us</span>
</a>
</div>
</volist>
